mmc: rpmb: update size format for write_counter
authorKever Yang <[email protected]>
Thu, 8 Jun 2017 01:20:04 +0000 (09:20 +0800)
committerJaehoon Chung <[email protected]>
Wed, 19 Jul 2017 10:13:59 +0000 (19:13 +0900)
commit343749c42554b058e53086aefe21d47b383326d5
treeac19c7a162aa6a06e1aa6ee4b40b58cca38a8d49
parent4dc80c8732f0fe971669a8440abd78c42bd1367c
mmc: rpmb: update size format for write_counter

According to MMC spec, the write_counter is 4-byte length,
use 'int' instead of 'long' type for the 'long' is not 4-byte
in 64 bit CPU.

Signed-off-by: Jason Zhu <[email protected]>
Signed-off-by: Kever Yang <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Jaehoon Chung <[email protected]>
drivers/mmc/rpmb.c